<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <style>
        * {
            writing-mode: vertical-rl;
            direction: ltr;
        }

        body {
            border: 1px solid black;
        }

        div {
            width: 300px;
            height: 200px;
            margin: 15px;
            background-color: green;
            border: 15px solid red;
        }
    </style>
</head>
<body>
<div></div>
<div></div>
<div></div>
</body>
</html>